<nav class="navbar navbar-default navbar-fixed-top navbar-inverse">
  <div class="container">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header" style="margin-left: -170px;margin-top: -10px;">
      <a class="navbar-brand " href="#"><img alt="Brand" src="${request.contextPath}/images/cloud-check-32.png"></a>
    </div>
    <p class="navbar-text" style="margin-left: -110px;">网龙-自动化测试平台</p>
    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav navbar-right">
	      <#if menuList??>
	        <#list menuList as menu>
	        	<#if menu.config_type=="header">
	        		<#if menu.config_id=="18">
	        			<#if userId>
	        				<li><a  data-toggle="modal" data-target="#updateModal">${menu.config_name}</a></li>
	        			</#if>
	        		<#else>
	        			<#if menu.config_id=="7">
	        				<li><a  data-toggle="modal" data-target="#registerModal">${menu.config_name}</a></li>
	        			<#else>
	        				<li><a href="${request.contextPath}${menu.config_url}">${menu.config_name}</a></li>
	        			</#if>
	        			
	        		</#if>
	    		</#if>
	    	</#list>
	      </#if>
	      <li class="light-blue">
			<a data-toggle="dropdown" href="#" class="dropdown-toggle">
				<!-- <img class="nav-user-photo" src="${request.contextPath}/images/user.jpg" alt="Jason's Photo"> -->
				<span class="user-info" id="user-info" style="display:none;">
					<small style="color:purple;">欢迎您：</small>
					<span id="adminUserName"></span>
				</span>
				<i class="icon-caret-down"></i>
			</a>
		</li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>

	<!-- 修改页面名称 -->
	<div class="modal fade" id="updateUser" tabindex="-1" role="dialog" aria-labelledby="modifyPageLabel" aria-hidden="true" data-backdrop="static">
	  <div class="modal-dialog" role="document">
	    <div class="modal-content">
	      <div class="modal-header">
	        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
	        <h4 class="modal-title" id="modifyPageLabel">修改页面名称</h4>
	      </div>
	      <div class="modal-body" id="ciproject_detail" style="margin-left:70px;">
	        <!-- begin -->
			<div class="input-group input-group-lg">
			  <span class="input-group-addon" id="sizing-addon1">页面名称</span>
			  <input type="text" class="form-control" placeholder="页面名称" aria-describedby="sizing-addon2" id="modifyPageName">
			   <span class="input-group-addon span-warning span-hidden" id="modifyPageNameSpan">名称不可用</span>
			</div>
	        <!-- end -->
	      </div>
	      <div class="modal-footer">
	        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
	        <button type="button" class="btn btn-primary" onclick="tree.index.modifyPage();" id="modifyPageButton">保存</button>
	      </div>
	    </div>
	  </div>
	</div>